package com.vkdasari.youtube.model;

public class Video {

	
	private String id, name, mimetype, size, md5, filelocation, status;
	
	/**
	 * Constructor 
	 *
	 */
	public Video(){
		id = name = mimetype = size = md5 = filelocation = status = "";
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * Gets the file location in the FilSystem.
	 * 
	 * @return filelocation String
	 */
	public String getFilelocation() {
		return filelocation;
	}

	/**
	 * Gets the fileid
	 * 
	 * @return id fileid
	 */
	public String getId() {
		return id;
	}

	/**
	 * Gets the MD5 of the fulltext.
	 * 
	 * @return md5 string
	 */
	public String getMd5() {
		return md5;
	}

	/**
	 * Gets the mimetype.
	 * 
	 * @return mimetype.
	 */
	public String getMimetype() {
		return mimetype;
	}

	/**
	 * Gets the name of the File.
	 * 
	 * @return name filename
	 */
	public String getName() {
		return name;
	}

	/**
	 * Gets the size of the file.
	 * 
	 * @return size filesize string
	 */
	public String getSize() {
		return size;
	}

	/**
	 * Sets the filelocation.
	 * 
	 * @param string filelocation.
	 */
	public void setFilelocation(String string) {
		filelocation = string;
	}

	/**
	 * Sets the FileId
	 * 
	 * @param string fileid
	 */
	public void setId(String string) {
		id = string;
	}

	/**
	 * Sets MD5 of the file.
	 * 
	 * @param string MD5 string.
	 */
	public void setMd5(String string) {
		md5 = string;
	}

	/**
	 * Sets the mimetype
	 * 
	 * @param string mimetype
	 */
	public void setMimetype(String string) {
		mimetype = string;
	}

	/**
	 * Sets the name of the file.
	 * 
	 * @param string filename.
	 */
	public void setName(String string) {
		name = string;
	}

	/**
	 * Sets the size of the file.
	 * 
	 * @param string filesize.
	 */
	public void setSize(String string) {
		size = string;
	}
	
	/**
	 * String representation of the Object
	 */
	public String toString(){
		return name+" ("+size+")";
	}
	
}
